package com.aoxiang.zbox.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * Description:
 *
 * @author: aoxiang
 * @create: 2025-03-09 20:42
 **/

@Data
public class LabelTodoItemVO {
    private Long labelId;
    private String labelName;
    private List<TodoItemVO> todoItems;

    @Data
    public static class TodoItemVO {
        private Long todoItemId;
        private String content;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime createdAt;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime updatedAt;
    }

}
